package cn.gdcp.bisai;

import android.content.ContentValues;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import java.net.URI;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);


        /*    测试ContentProvider         */
  /*       Uri uri=Uri.parse("content://com.sql//student");
        ContentValues values=new ContentValues();
        values.put("stuno","123456");
        values.put("name","李泽");
        values.put("age",18);
        values.put("sex","男");
        getContentResolver().insert(uri,values);*/
    }
}
